import request from '@/utils/request'

// 查询面试信息列表
export function listInterview(query: any) {
  return request({
    url: '/system/interview/list',
    method: 'get',
    params: query
  })
}

// 查询面试信息详细
export function getInterview(intvId: any) {
  return request({
    url: '/system/interview/' + intvId,
    method: 'get'
  })
}

// 新增面试信息
export function addInterview(data: any) {
  return request({
    url: '/system/interview',
    method: 'post',
    data: data
  })
}

// 修改面试信息
export function updateInterview(data: any) {
  return request({
    url: '/system/interview',
    method: 'put',
    data: data
  })
}

// 删除面试信息
export function delInterview(intvId: any) {
  return request({
    url: '/system/interview/' + intvId,
    method: 'delete'
  })
}
